﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Apps/MasterPage.master" AutoEventWireup="false"
    CodeFile="report_staff.aspx.vb" Inherits="Apps_report_staff" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
    <table width="50%" border="1" align="center" cellpadding="2" cellspacing="2" bordercolor="#999999">
        <tr align="center" bgcolor="#99FFFF">
            <td colspan="2" bgcolor="#FFFFFF" class="th_data">
                ข้อมูลผู้ใช้งาน
            </td>
        </tr>
        <tr align="left">
            <td width="47%" bordercolor="#CCCCCC" class="td_box">
                หน่วยงานที่สังกัด :
            </td>
            <td width="53%" bordercolor="#CCCCCC" class="td_box">
                <%--<asp:SqlDataSource ID="ddlStpDepartmentSrc" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
                    SelectCommand="USP_GetDepartmentByPrivilege" SelectCommandType="StoredProcedure">
                    <SelectParameters>
                        <asp:SessionParameter Name="group_user_type" SessionField="group_user_type"
                            Type="Int32" />
                        <asp:Parameter DefaultValue="0" Name="department_code" Type="Int32" />
                    </SelectParameters>--%>
                <asp:ObjectDataSource ID="ddlStpDepartmentSrc" runat="server" SelectMethod="GetStpDepartmentByPrivilege"
                    TypeName="CodeMatrix.Business.GenericData"></asp:ObjectDataSource>
                <asp:ListBox ID="lstStpDepartment" runat="server" SelectionMode="Multiple" DataSourceID="ddlStpDepartmentSrc"
                    DataTextField="department_name" DataValueField="department_code" AppendDataBoundItems="True">
                    <asp:ListItem Value="0" Text="ทั้งหมด"></asp:ListItem>
                </asp:ListBox>
                <br />
            </td>
        </tr>
        <tr align="left">
            <td width="47%" bordercolor="#CCCCCC" class="td_box">
                สถานะการใช้งาน :
            </td>
            <td width="53%" bordercolor="#CCCCCC" class="td_box">
                <asp:DropDownList ID='ddlStatus' runat="server">
                    <asp:ListItem Text='สถานะ' Value='0'></asp:ListItem>
                    <asp:ListItem Text='ใช้งาน' Value='1'></asp:ListItem>
                    <asp:ListItem Text='ไม่ใช้งาน' Value='2'></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2" bordercolor="#CCCCCC" class="td_data_end">
                <asp:Button ID='btnFilter' Text='แสดงรายงาน' runat='server' />
                <asp:Button ID='btnMainMenu' Text='<%$ Resources:Resource,BTN_MAINMENU %>' runat='server' PostBackUrl="~/Apps/ViewSystem.aspx?Edit=2" />
            </td>
        </tr>
    </table>
</asp:Content>
